
<template>
  <div class="not-found">
    <div class="div-center-center">
      <el-result icon="info" title="404">
        <template #icon>
          <el-icon :size="64">
            <QuestionFilled />
          </el-icon>
        </template>
        <template #sub-title>
          <p>页面找不到</p>
        </template>
        <template #extra>
          <RouterLink to="/">
            <el-button type="primary">首页</el-button>
          </RouterLink>
        </template>
      </el-result>
    </div>
  </div>
</template>
<script setup lang="ts">
import { RouterLink } from 'vue-router'

</script>

<style scoped lang="scss">
@keyframes bounce-in-fwd {
  0% {
    transform: scale(0);
    animation-timing-function: ease-in;
    opacity: 0;
  }

  38% {
    transform: scale(1);
    animation-timing-function: ease-out;
    opacity: 1;
  }

  55% {
    transform: scale(0.7);
    animation-timing-function: ease-in;
  }

  72% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }

  81% {
    transform: scale(0.84);
    animation-timing-function: ease-in;
  }

  89% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }

  95% {
    transform: scale(0.95);
    animation-timing-function: ease-in;
  }

  100% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}


.not-found {
  width: 100%;
  height: 100%;
  position: relative;
  animation: bounce-in-fwd 1.1s both;
}</style>
